MyCalloutProc
Your movie callout function should present the following interface:
pascal Boolean MyCallOutProc (long refcon);
refcon
- Contains the reference constant that you specified when you called the
PlayMoviePreview
function.DESCRIPTION
Your movie callout function returns a Boolean value. The Movie Toolbox examines this value before continuing. If your function sets this value tofalse
, the Movie Toolbox stops the preview and returns to your application.
- Note
- If you call the
GetMovieActiveSegment
function (described on page 2-122) from within your movie callout function, the Movie Toolbox will have changed the active movie segment to be the preview segment of the movie. The Movie Toolbox restores the active segment when the preview is done playing.![]()